package com.gitee.ywj1352.producer.rpc;

import com.gitee.ywj1352.common.vo.ResponseVO;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by wenjie.yang on 6/28/2018.
 */
@FeignClient("")
public interface UserFeign {

    @RequestMapping(value = "/client/token",method = RequestMethod.POST)
    ResponseVO getAccessToken(@RequestParam("clientId") String clientId, @RequestParam("secret") String secret);
}
